package com.zy.list

import androidx.fragment.app.Fragment
import com.zy.activity.BaseMainActivity
import com.zy.list.list.DocItemFragment
import com.zy.zlog.ZLog


//从数据库中获取数据 - 数据库能力
//展示item(删除，更改title，进入展示)
//新建按钮(文件夹+文件)
open class DIYMainActivity : BaseMainActivity() {

    override val containerFragment: Fragment?
        get() {
            val parentId = intent.getLongExtra(ListConstant.ARG_PARENT_ID, 0L)
            ZLog.d("ZY-DIYMainActivity", "parentId= $parentId")
            return DocItemFragment.newInstance(parentId)
        }

}